package
{
	import flash.events.Event;
	//a custom event class for passing information contained in an object (an json decoded) around for
	// event dispatches
	public class InfoEvent extends Event
	{
		private var data:Object;
		
		public function InfoEvent(type:String, data:Object , bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type,bubbles,cancelable);
			this.data = data;
		}
		public function getData():Object{
			return data;
		}
	}
}